//
//  XLCornerRadiusView.m
//  Current
//
//  Created by 于鹏 on 2017/8/15.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import "XLCornerRadiusView.h"
#import "XLAppMacro.h"
//#import <BaseModule/UIView+XLVisuals.h>
#import "UIView+XLVisuals.h"
@implementation XLCornerRadiusView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    [self config];
}

- (instancetype)init {
    self = [super init];
    if (self) {
        [self config];
    }
    return self;
}
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self config];
    }
    return self;
}

- (void)config {
    self.backgroundColor = kXLWhiteColor;
    [self xl_cornerRadius:8 strokeSize:0.5 color:kRGB(229, 233, 236)];
}
@end
